β[ File One ]ββββββββββββββββββββββββββββββ β first character to allow you β βββ
At this prompt, press the [Esc] key to exit DoubleTake and return to DOS.
To see the files on the logged drive and directory, press [F1]. To
immediately go to the Configuration Function, press [F10]. To type in the
filename directly, press any other key. You'll get a typing window to
enter your filename. (If you press any legal filename character, that
character will be entered as the first character of the filename.) Next, a
similar screen for file 2 appears (see Figure 2).
Running DoubleTake
Page 8 DoubleTake Professional
β[ File One ]βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
(Both files consist of an excerpt from the DoubleTake User's Manual,..
with helpful comments added to demonstrate some of the features.)..
..
(This file has randox x's scattered to allow you to find.. ββ
differences between this file ββββββββββββββββββββββββββββββββ΄β΄ββββββββββββ
|.. β If Display Special [D] is highlighted, β
|.. β the periods at the end of the line β
NOTE: If this is an error you fo β (which represent the Carriage Return β
BlankIgnore ON, Press [B], then [ β and Line Feed characters) will be β
β shown as actual printed characters β
Compared lines show on the mi β (single note (cr) and reverse bullet (lf)β
20202020 20202020 20202020 202 βββββββββββββββββββββββββββββββββββββββββ Fi
6C652077 69746820 496E6465 6E7 β ββ0D0Aβββββββ le with Indent 2..
20202020 20202054 68697320 666 β β ββββββββββ ββββββββββββββββββββββββββas a s
7374206F 6620616E 20657863 65727074 ββββββββββ β 68 st of an excerpt from th
65 βββββββββββββββββββββββββββββββββββββ 320 βββ΄βββββ e DoubleTake User's Manu
61 β These numbers are the hexadecimal β 063 β Line β al,..with helpful comme
6E β values of the characters which areβ 374 β Feed β nts added to demonstrate
20 β shown printed at right. If you β 265 ββββββββ some of the features.)
0D β have Display Special on (hili on) β 173 2072616E .. (This file has ran
64 β then the periods at right will be β 46F 20616C6C dom x's scattered to all
6F β printed as single note sign for 0Dβ 020 64696666 ow you to find.. diff
65 β [cr], reverse bullet for 0A [lf]. β 973 2066696C erences between this fil
65 βββββββββββββββββββββββββββββββββββββ D0A 20207C0D e and TUTORFIL.TWO |
0A20207C 0D0A4E4F 54453A20 20496620 74686973 20697320 . | NOTE: If this is
616E2065 72726F72 20796F75 20666F75 6E642C20 7468656E an error you found, then
20796F75 20646F20 6E6F7420 68617665 0D0A426C 616E6B49 you do not have..BlankI
676E6F72 65204F4E 2C205072 65737320 5B425D2C 20746865 gnore ON, Press [B], the
6E205B54 5D6F7020 6F662066 696C6520 616E6420 7468656E n [T]op of file and then
(This file has randox x's scattered to allow you to find.. 10
.. β 9
Shi β Left] ar βββββββββββββββββββββββββββββββββββββββββββββββ 8
[Ri β /Left] a β Pressing the [Down Arrow] key moves both β ght/.. 7
Pre βββββββββββ€ cursors forward in both files, meaning the β 6
wit β elpful c β cursors move closer to the end of the file. β .) .. 5
(Bo β files co β The lines will then scroll in the direction β nual, .. 4
.. β βββββ€ of the arrows and the lines will increment β 3
] keys to mo β[ Align File 2 with File 1 ]ββββββββββββββββββββββββ this file is
β β [Left]/[Right
on the midd β Align by looking both ways in file 2 β |
press [*] a β Length to match: 25 β lines show
nd, then you β Number of bytes search: 100 β file and then
between this β Ignore upper/lower case: No β error you fou
(This β β differences
rβ[ Are Settings Correct? ]βββββββββββββββββββββββββββββββββββββββββββββββββββ)
If you press [C], you will be asked which direction you wish to search (see
Figure 20).
β[ Direction to Search ]βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Choose the direction you wish to search: forward, backward or both. The
most successful choice is often B[o]th, which first searches in the forward
direction and then in the backward direction.
DoubleTake Operation
Page 24 DoubleTake Professional
β[ Match Length ]ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β How many characters for a match? (1 to 255): 15β‘β‘β‘ β
Now enter how far you wish to search for a match (see Figure 22). The
larger this Search Distance, the more likely you will find a match, but the
longer the search for a match can take. Next, decide if you want
DoubleTake to ignore case differences between the two files (see Figure
23). The search is slightly faster if you do not ignore case, but the a
match is less likely because both files have to be identical.
β[ Ignore UPPER/lower Case ]βββββββββββββββββββββββββββββββββββββββββββββββββ
You may also change the Align Files settings in the Configuration function.
For the majority of your alignment actions, first try the Automatic Align
Function, [A].
(3) Automatic Align. Automatically Align files. This function uses
the default align file settings and automatically searches for a match.
The search begins initially forward. If not match is found, a search
backward is done. If no match is found DoubleTake swaps the Search/Move
file with the Match file and tries again, forward and backward. If there
is a match, one or both file cursors are relocated to the new locations.
Otherwise the files are returned to the locations before the search for a
match was started and a message appears indicating there was no match
found. (Figure 25).
d. Find String Function. This function works in either Hex or ASCII
mode. If you are in the Two-file mode, you will have the option of
choosing which file to search for the string, either File 1, File 2 or
both. Press [Enter] for the default value, search [B]oth files. You will
then be asked if you want to ignore UPPER/lower case while searching.
Press [Enter] to select the default value shown. If you choose [Y], then
the string will match any combination of UPPER or lower case for the whole
search. Now enter the string to find as shown in Figure 26.
DoubleTake Operation
Page 26 DoubleTake Professional
β[ Enter Find String]βββββββββββββββββββββββββββββββββββββββββββββββββ
β[ Enter Find String]βββββββββββββββββββββββββββββββββββββββββββββββββ
β What String? Both files consist of an excerpt βββββ‘β‘β‘β‘β‘β‘β‘β‘β‘β‘β‘β‘ β
Just type any string you wish to find and press the [Enter] key. You have
a choice of direction as shown in Figure 27.
β[ Enter Find String]βββββββββββββββββββββββββββββββββββββββββββββββββ
Forward searches continue to the end of the file. Backward searches
continue to the beginning of the file.
Note: If all searches fail, the cursor(s) will remain in the
location at the start of the search.
If you wish to find other than normal ASCII values (letters, numbers,
punctuation), you can search for any code by entering the string portion of
inside double (or single) quote and the other values in Hex or Decimal.
For Hexadecimal values, use the Hex value preceded by a dollar sign [$].
$0D is the Hexadecimal code for Carriage Return, for example. For Decimal
DoubleTake Operations
DoubleTake Professional Page 27
values, use a backslash preceding the decimal value. \13 or \013 is the
Decimal code for Carriage Return.
For example, if you wanted to look for a string with a Carriage
Return/Linefeed in the middle, enter the following:
"This string" \013 \010 "is on two lines."
or
"This string" $0D $0A "is on two lines."
DoubleTake will then look for This string followed by Carriage Return and
Linefeed, followed by is on two lines.
Note: If you are searching for characters which are in the set of
characters you want DoubleTake to ignore, the string will not be
found. Ensure you have Blank/Character Ignore set to OFF (i.e., the
[B] is not highlighted) when you are searching for non-printable
characters.
You must enclose the string in either single or double quotations marks
if you wish to include Hex or Decimal codes in the search string.
If you wish to search for single or double quotes, either enclose them
in the opposite quote marks (e.g., '"Hi"' or "it's") or enter them using
their Hex or Decimal values (e.g., \034 "Hi" \034 or 'it' \039 't').
Interrupt the search at any time by pressing any key.
e. DoubleTake Main Screen Keys. The definitions of the function keys
are shown at the bottom of the main screen. To get the definitions of the
other keys, use the Help key [F1] or [?].
Use the numeric keypad (or optionally, the Function keys) to scroll File 1,
File 2 or both. If you get lost, just press [F1] or [?] to get a complete
key list. Additionally, the Pop-Up Menu key, [/] provides a reminder of
the main screen shortcut key to use on each pop-up menu selected.
Note: The keypad keys are all close together for all functions,
making the keypad easier to use than the function keys. Both are
provided for your convenience.
Key Definition
[F1] or Help key. Press this key to get a list of all active keys when
[?] in the Main Screen as well as in the Configuration Screen.
Note: When you press the Help key, you skip the Commercial when
you press any key, if you have a registered version. If you have
not registered, the commercial will appear when you start or leave
DoubleTake, and every time you get Help. In a registered version,
press [F1] twice to see the commercial (and the name and serial
number of the Registered User.)
DoubleTake Operation
Page 28 DoubleTake Professional
Key Definition
[/] Pop up the Menu/ShortCuts system. The commands listed here are
all available from the pop-up menu commands (with the obvious
exception of the scrolling keys -- it would not be reasonable
to use a 2 or 3 key pop-up menu choice to accomplish what the
scroll keys do in one keystroke). See the Pop-Up Menu section
for a detailed description of this menuing system.
[Alt-A] Align files manually. This key allows you to try to bring File
1 up to align with File 2 or File 2 up to align with File 1.
[A] Automatically Align files. This function uses the default
align file settings and automatically searches both files, both
directions, for a match. Use manual align [Alt-A] if you wish
to change the align setting on-the-fly.
[B] Blank/Character Ignore toggle. This toggles whether or not the
Find Next Mismatch or Find String routines skip the
Blank/Ignore Characters. This allows easier compares of files
which differ mainly in the spacing between the words in the two
files. Normally, the characters to ignore will be at least the
[Blank] and [Tab] characters. The Configuration section shows
how to change the characters to Ignore.
[C] Configure DoubleTake. See the Configuration Section for
details on changing colors and options.
[Alt-D] Exit to DOS. This option allows you to temporarily jump to DOS
to do anything would like (except: DO NOT LOAD any Memory
Resident Software (also know as Terminate and Stay Resident
(TSR) software) while you are in this DOS Shell). Just type
the word EXIT to return to the exact place you left in
DoubleTake. This is a simpler and faster way to perform DOS
tasks than quitting and restarting DoubleTake.
[D] Display special characters toggle. This toggles between
displaying the printed characters with ASCII codes between 0
and 31 and 127 and 255 or displaying a period [.] or a [space]
for those characters. If the periods on the end of a line are
be distracting, then toggle to display a [space] for each
special character. This is functional in all modes.
[E] EGA/VGA Mode. This allows you to toggle the EGA/VGA card
between the 25 and 43/50 line modes. When you press [E], if
you have an EGA or VGA card in your computer, you will be
automatically toggled to the 43 (or 50) line mode if you are in
the 25-line mode. If you are in the 43 (or 50) line mode, you
will be toggled back to the 25 line mode. If you do not have
an EGA or VGA adapter, you will hear a Bell when you press [E].
Note: As expected, this only works on machines which have the EGA
or VGA card installed. There is no check to see if there is an
EGA/VGA monitor attached, so you need to take care that you do not
shift to a mode which is not supported by your monitor.
DoubleTake Operations
DoubleTake Professional Page 29
Key Definition
[F] Find a String. This allows you to search for a string in
either Hex or ASCII Mode, using either simple strings (which
may or may not be enclosed in quotation marks) and strings
combined with either Hex or Decimal character codes (when
including Hex or Decimal codes for a search, you must enclose
all strings in quotes.) Search can be forward in file or
backward toward beginning of file.
[Alt-F] Repeat previous Find. This key uses the same settings
previously given in a Find String command. You will be asked
to confirm (or make changes to) the search string. When the
string is correct, press [Enter] to accomplish the search.
[Alt-H] Toggle between Hexadecimal and Decimal display of the value at
the cursor. In the 80 column Hex mode or the ASCII Mode, the
Value indicator shows the current ASCII code for the character
highlighted by the cursor. If the value is shown with a dollar
sign [$] in front of the numerals, the value is shown in
Hexadecimal ($00 to $FF). If not, the number is the Decimal
value (0 to 255) with a backslash [\] preceding the value.
[Alt-N] Load a new file or files. Use this to change File 1 or File 2
or both. If you loaded only one file from the command line,
use this command to load the second file if needed. Also
useful to compare multiple files to the same file. You will
have the same options (direct type-in or the internal
Directory File Picker) as when you initially loaded the files.
[O] WordStar Mode On/Off toggle. When on, the high bit is
stripped from each character. This converts the Horizontal
double line box from " " into "MMMMMMM" but it is mainly
useful to correct the last character of most words in a
WordStar file.
[Alt-P] Toggle PrtSc On/Off. When DoubleTake starts, PrtSc is disabled
-- pressing [Shift-PrtSc] will do nothing. This allows you to
freely use the [Left-Shift] (or [Right-Shift] instead of the
[Ctrl] key) with the cursor movement keys to move either file
one page at a time. If you do desire to do a PrtSc, you must
first press [Alt-P] to turn PrtSc back on. You can tell the
status of PrtSc by the PrtSc indicator in column 71 of the Key
Status Line. If this symbol is highlighted (i.e., if the
symbol is ON), then PrtSc is enabled. Pressing [Shift-PrtSc]
now will send a copy of the page to the printer using the DOS
Print Screen function. When this symbol is not highlighted
(i.e., off), [Shift-PrtSc] does nothing.
[Q] Quit. This key will exit DoubleTake and return to DOS, after
asking you if you really want to quit.
[S] Scroll Mode. This toggles between the Opposite and Parallel
scrolling modes. See the description of the two types of
scrolling in the previous section. (This key not available in
Zoom Mode.)
DoubleTake Operation
Page 30 DoubleTake Professional
Key Definition
[T] This will return both files to Top of File as when you first
loaded DoubleTake.
[Tab] Scroll the display to the right (the line seems to move to the
left) to allow viewing the rest of long lines (ASCII Mode
only). Use the Configuration function to change the amount of
the scroll right/left. The amount of the display has been
scrolled is shown on the outer borders of each file window
(e.g., top line for File 1, bottom line for File 2).
[Ins] The [Ins]ert key changes the file to horizontally scroll. The
Horizontal Scroll Indicator on the bottom line indicates which
file will currently be scrolled when you press the Horizontal
Scroll Keys. The [Ins] key selects Both [ ], Top (or Zoomed
File) [^] or Bottom [v].
[Shift- Use the [Left-Shift] key to scroll the display to the left (the
Tab] line seems to move to the right) to allow viewing the beginning
of a line (ASCII Mode only). Use the Configuration function to
change the amount of the scroll left.
[Right- Return the display to the first column (the beginning of the
Shift- line) for the selected file (see the [Ins]ert key above to see
TAB] how to change the selected file.
[Alt-#] Toggle between the Line Number and Byte Number while in the
ASCII Display Mode. When in the Line Number display mode, the
indicator shows each line of the file, from line 1 to the last
line of the file. When in the Byte display mode, the indicator
shows the exact file byte located at the cursor, from 0 to the
last byte in the file. The Byte display mode functions the
same in Hex or ASCII mode.
Note: In ASCII display mode, if you scroll the screen the right
past the end of a line, the line number will be shown in the Line
Number display mode, but the indicator will be blank in the Byte
Number display mode, because the cursor is not on a character of
the file.
[X] Toggle between the 24-Character and 80-Character Modes. The
position of the cursor in the file does not change when you
toggle between modes.
[Alt-X] Hex/ASCII Mode Toggle. This toggles between the ASCII mode and
the Hex modes. When in Hex mode, you will see the Hexadecimal
equivalent of the character along with the printed character,
similar to the Debug format. See the earlier section
discussing the types of Hex modes.
DoubleTake Operations
DoubleTake Professional Page 31
Key Definition
Note: When DoubleTake changes from Hex to ASCII or ASCII to Hex,
expect the file cursors to remain in the same location in the file.
The one exceptions is when you have scrolled the screen to the
right past the end of the line containing the cursor. If you then
change to Hex, DoubleTake moves the cursor to the last character on
the current ASCII line. Also note that changing to ASCII is more
complicated than changing to Hex, so expect the process to take a
little longer.
[Z] Zoom feature. This allows you to zoom either file up to full
screen. Use this for a more complete look at one of the files
and then return to the dual window mode to continue the
compare. When you press [Z] you'll be asked which file to
Zoom. Press [1], [2], [N] or [Enter]. Pressing [N] or [Enter]
will default to None. Press [1] to Zoom File 1 and [2] to Zoom
File 2.
When you have a file Zoomed, all keys for either file will
work. For example, when you have File 1 Zoomed, the normal
movement keys, [Home], [End], [Ctrl-Home], [Ctrl-End], move
around the file, as well as the [PgUp], [PgDn], [Ctrl-PgUp],
[Ctrl-PgDn], [Up/Down Arrow] and gray [+/-] keys. The filename
and line numbers for the Zoomed file remain in the same
location as in the dual window mode, however.
Note: When you use DoubleTake in the single file mode, you are in
the Zoom Mode and the file is considered File 1. (The [Z] key is
not available in the Single File Mode.)
Note: The following keys are used to mark the beginning and end of
a block in a file and write the block to a CLiP file. The keys are
grouped together according to function, with each key identified to
the file which is controlled. In the One-File Mode or Zoomed
mode, either of the two keys will perform the desired function.
For example, if File 1 is Zoomed or in One File Mode, either [Ctrl-
B] or [Alt-B] will mark the beginning of the block in the file.
[Ctrl- Mark the beginning of the block in File 1 and File 2
B] or respectively. In Zoomed or One File mode, either key will set
[Alt-B] the beginning of the block.
[Ctrl- Mark the end of the block in File 1 and File 2 respectively.
K] or In Zoomed or One File mode, either key will set the end of the
[Alt-K] block.
[Ctrl- Clear all markers in File 1 and File 2 respectively.
C] or
[Alt-C]
[Ctrl- Write marked block out to a CLiP file for File 1 and File 2
W] or respectively. If a block is not marked, you will be alerted.
[Alt-W]
DoubleTake Operation
Page 32 DoubleTake Professional
Key Definition
Note: You will be asked to choose a destination Filename for the
CLiP file. Enter any filename or use the File Picker to choose a
filename. If you send the marked block to a Printer (such as LPT1
or PRN), ensure to \send a printer buffer flush command when you
have sent all you wish to the printer (e.g., an ASCII Carriage
Return--Code 013 or $0D). On some printers, cycling the printer
Off-Line and back On-Line will flush and print the buffer.
Note: In the following description of keys, you will see the terms
up/back and down/forward. Think of it as moving the highlighted
line up and down the page. Although the highlighted line does not
move, think of Up/Back as meaning moving the highlighted line to a
previous line on the page and Down/Forward as meaning moving the
highlighted line further down the page.
[Home] Scroll File 1 up/back--to view previous lines in the file.
or [F3]
[Ctrl- Scroll File 1 up/back one window full.
Home]
[Ctrl-
F3]
[Shift-
Home]
[End] Scroll File 1 down/forward-to view later lines in the file.
or [F5]
[Ctrl- Scroll File 1 down/forward one window full.
End]
[Ctrl-
F5]
[Shift-
End]
[PgUp] Scroll File 2 up/back.
or [F4]
[Ctrl- Scroll File 2 up/back one window full.
PgUp]
[Ctrl-
F4]
[Shift-
PgUp]
[PgDn] Scroll File 2 down/forward
or [F6]
[Ctrl- Scroll File 2 down/forward one window full.
PgDn]
[Ctrl-
F6]
[Shift-
PgDn]
DoubleTake Operations
DoubleTake Professional Page 33
Key Definition
[^] or Scroll both File 1 and 2 up/back. (This key also works in Zoom
[F7] or Single File Mode.)
[v] or Scroll both File 1 and 2 down/forward. (This key also works in
[F8] Zoom or Single File Mode.)
[Gray-] Scroll both files up/back one window full. When the cursor
or [F9] reaches the first line of the file, pressing this key once more
moves the cursor to the first byte of the file. Additional
presses of this key will then cause the computer to beep.
(This key also works in Zoom or Single File Mode.)
[Gray+] Scroll both files down/forward one window full. When the
or cursor reaches the last line of the file, pressing this key
[F10] once more moves the cursor to the last byte in the file.
Additional presses of this key will then cause the computer to
beep. (This key also works in Zoom or Single File Mode.)
[Scroll Toggle Dual Scrolling Mode on/off. When Dual Scrolling Mode is
Lock] on, the [<]/[>] keys move the cursors in File 1 and File 2 at
the same time.
[Shift- Moves both cursors back in the files. In the Double-Scroll
Ctrl-<] mode (when ScrollLock is on), the [<] key moves both cursors
[Shift- back in the files.
Ctrl-
F9]
[Shift- Moves both cursors forward in the files. In the Double-Scroll
Ctrl->] mode (when ScrollLock is on), the [>] key moves both cursors
[Shift- forward in the files.
Ctrl-
F10]
[Ctrl- In all modes, the [Ctrl->] key moves the File 2 cursor to the
>], next byte in the file. Use this key to align file cursors
[Shift- after a Find Next Mismatch to prepare for the next Find Next
>], Mismatch.
or
[Ctrl- In the Double-Scroll mode (when ScrollLock is on), the [>] key
F10] moves both cursors forward in the files.
[Ctrl- In all modes, the [Ctrl-<] key moves the File 2 cursor to the
<] previous byte in the file. Use this key to align file cursors
[Shift- after a Find Next Mismatch to prepare for the next Find Next
<], Mismatch.
or
[Ctrl- In the Double-Scroll mode (when ScrollLock is on), the [<] key
F9] moves both cursors back in the files.
[>] or In all modes, the [>] key moves the File 1 cursor to the next
[Ctrl- byte in the file. Use this key to align file cursors after a
F8] Find Next Mismatch to prepare for the next Find Next Mismatch.
In the Double-Scroll mode (when ScrollLock is on), the [>] key
moves both cursors forward in the files.
DoubleTake Operation
Page 34 DoubleTake Professional
Key Definition
[<] or In all modes, the [<] key moves the File 1 cursor to the
[Ctrl- previous byte in the file. Use this key to align file cursors
F7] after a Find Next Mismatch to prepare for the next Find Next
Mismatch.
In the Double-Scroll mode (when ScrollLock is on), the [<] key
moves both cursors back in the files.
4. DoubleTake Configuration Made Easy.
a. Configuration Modifications. There are two ways to make changes to
the DoubleTake configuration file DUBLTAKE.CNF:
Invoke DoubleTake's built-in Configuration routine (inside with no
file and press [F10] or press [C] from inside DoubleTake and then [W]rite
the new values to disk) or
(less preferable) Change the file DUBLTAKE.CNF with an ASCII editor
(such as DOS's EDLIN.COM, or Sammy Mitchell's outstanding Quick Editor--
QEdit, for example.)
The default DUBLTAKE.CNF is shown in Figure 28.
7 Main Screen foreground color (0-15)
0 Main Screen background color (0-7)
15 Help Screen foreground color (0 to 15)
0 Help Screen background color (0 to 7)
15 HiLi Screen foreground color (0 to 31)
7 HiLi Screen background color (0 to 7)
False Non-WordStar(tm) Mode Selected (T/F) (prints all, even graphics chars)
ASCII Ascii Mode to display files (ASCII/Hex)
80 Characters to Display in Hex Mode (24 or 80)
True Ignore characters (T/F). Ignore Characters on next line.
00 09 0A 0C 0D 20
False Display Control Characters/High Graphics chars as [ ] (T/F)
Fast Fast Video Mode Selected (Slow/Fast)
O Opposite Scrolling Mode Selected (Parallel/Opposite)
True Sound the Bell on Errors (T/F)
25 EGA/VGA Lines (43/50 only on EGA/VGA otherwise use 25 all others)
v---> End of Line characters are listed below:
0A 0D 8A 8D
Line # Show position in ASCII file by Line number in file
5 Number of columns to scroll (right/left) when Tab/Shift Tab pressed
2 Move Cursor in this file to match Target File (1/2)
Both Ways Direction(s) to search, aligning files (Forward/Backward/Both Ways)
10 # chars which must match to align (1 to 255)
500 # chars in file to search when aligning (1 to 32000)
Figure 28
DoubleTake Operations
DoubleTake Professional Page 35
Note: The Ignore Blanks/Characters line (line 11 above) and the End
Of Line characters line (line 18) consist of Hexadecimal values
separated by a space. Except for these lines, all lines consists of
two parts: 1) the value in the first column, and 2) the explanation
in the second column. All legal values for column 1 are shown at the
end of the explanation line in column 2. If you use other than a
legal value, DoubleTake will skip that value and keep its default
value.
Ensure that you keep the spacing on each line identical to the original.
Do not rearrange the lines or insert blank lines into the file. If you do,
the file will not load correctly and the default values will be loaded.
What if I destroy the configuration file? Even if you completely wreck
the configuration file, just create a new one with the following steps:
1. Run DT (alone or with a file)
2. Choose [F10] Configure from the files menu (if DT was run alone)
or choose [C]onfiguration from the main screen, then
3. Change the values to reflect your preferences, and
4. [W]rite out a new copy of DUBLTAKE.CNF.
b. Choosing Your Favorite Colors
DoubleTake comes in plain vanilla White on Black to ensure it is
readable on any screen, whether it's a monochrome, color or monochrome
monitor on a color card. (If you have a color monitor, rename COLOR.CNF to
DublTake.CNF to start up in color.)
Note: If you are using monochrome video display on a Color Graphics
Adapter, and the display is horrible, you might be able to improve it
by exiting DoubleTake and, using the MODE.COM program from your DOS
disk, typing:
A:\>MODE BW80[Enter] ([Enter] is the [Return] key.)
Now re-run DoubleTake for a much more readable display.
c. Configuring DoubleTake Options.
Use the Configuration Function to tailor DoubleTake to your specific
preferences. Press [C] to see the screen shown in Figure 29.
DoubleTake Configuration
Page 36 DoubleTake Professional
β[ DoubleTake Configuration ]βββββββββββββββββββββββββββββββββββ[ F1 for Help ]β
ββ[ Main Screen Colors ]ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββHilighted Line:[^F]gnd: White (15)[Block][^B]gnd:Magenta ( 5) ββ
ββNormal Text : [F]gnd: White (15)[Block] [B]gnd:Blue ( 1) ββ
ββ[ Help Screen Colors ]ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββ [@F]gnd: Blue ( 1) [@B]gnd: LightGray ( 7) ββ
ββ[ Line End Characters ]βββββββββββββββββββββββββββββββββββββ[ F10 to Edit ]βββ
The upper portion of the Configuration screen (see Figure 30) provides
color selection for the Main Screen, Help Screen and the Highlighted lines
in the compared files.
DoubleTake Configuration
DoubleTake Professional Page 37
β[ DoubleTake Configuration ]βββββββββββββββββββββββββββββββββββ[ F1 for Help ]β
ββ[ Main Screen Colors ]ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββHilighted Line:[^F]gnd: White (15)[Block][^B]gnd: Magenta ( 5) ββ
ββNormal Text : [F]gnd: White (15)[Block] [B]gnd: Blue ( 1) ββ
ββ[ Help Screen Colors ]ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββ [@F]gnd: Blue ( 1) [@B]gnβ: LightGray ( 7) ββ
The middle portion of the Configuration screen (see Figure 31)
controls numerous defaults for DoubleTake's operation.
DoubleTake Configuration
Page 38 DoubleTake Professional
β[ DoubleTake Configuration ]βββββββββββββββββββββββββββββββββββ[ F1 for Help ]β
ββ[ Main Screen Colors ]ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββHilighted Line:[^F]gnd: White (15)[Block][^B]gnd:Magenta ( 5) ββ
ββNormal Text : [F]gnd: White (15)[Block] [B]gnd:Blue ( 1) ββ
ββ[ Help Screen Colors ]ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β[ DoubleTake Configuration ]βββββββββββββββββββββββββββββββββββ[ F1 for Help ]β
ββ[ Main Screen Colors ]ββββ ββββββββββββββββββββββββ βββββββββββββββββββ βββ
ββHilighted Line:[^F]gnd: Wh β Strip high bit from β β Don't consider β ββ
ββNββββββββββββββββββββββββ β characters (such as β β the case of a β ββ
ββββ Show non-printing β β the microspacing β β character when β βββ
ββ[β characters as "." β β used by WordStar(tm) β β searching for a β βββ
ββ β (periods) or show β βββββββββββββ¬βββββββββββ β string or match.β ββ
ββββ the actual symbol β β βββββββ¬ββββββββββββ βββ
β β represented by the β βββW[o]rdStar β Off β
β β ASCII value. ββββββββββββββββββD[i]splay Special β Show Chars β
βββββββββββββββββββββββββββββββββββββββββ[N]oisy Beep β Bell sounds β
The lower portion of the Configuration screen (see Figure 32) provides
an opportunity to edit the characters to ignore while searching and to
define the characters which DoubleTake will recognize as end-of-line
characters in ASCII Mode.
β[ DoubleTake Configuration ]βββββββββββββββββββββββββββββββββββ[ F1 for Help ]β
d. Configuration Mode Key Definitions. The following keys are active
while in the Configuration Option:
Key Definition
[F1] Get Configuration Help. This provides help about the
or Configuration Options and the Exit Options.
[?]
[F] Move to the next color for the foreground colors for normal text.
The colors allowed for the foreground are:
0 Black 8 LightGray
1 Blue 9 LightBlue
2 Green 10 LightGreen
3 Cyan 11 LightCyan
4 Red 12 LightRed
5 Magenta 13 LightMagenta
6 Brown 14 Yellow
7 White 15 LightWhite
[B] Move to the next color for the background colors for normal text.
The colors allowed for the background are:
0 Black
1 Blue
2 Green
3 Cyan
4 Red
5 Magenta
6 Brown
7 White
8-15 Above colors 0-7, flashing (Highlighted Line only)
[Ctrl Change the foreground of the highlight color for the compared
-F] lines in the center of the screen. See [F] for the foreground
colors.
[Ctrl Change the background of the highlight color for the compared
-B] lines in the center of the screen. See [B] for the background
colors. If you set the Background to a color greater than 7, the
background will flash. This allows you to set the highlight line
to any flashing color you wish. If you do not want flashing,
just cycle the background colors back to the 0 to 7 range.
[Alt- Change the foreground color of the Help Screen.
F]
[Alt- Change the background color of the Help Screen.
B]
[E] Toggle between 25 and 43/50 line mode on cards that can shift
(EGA/VGA). The display will immediately shift to the selected
mode.
At the DoubleTake Main Screen use the [E] Shortcut Key to
immediately toggle between the 25 and 43/50 line modes.
DoubleTake Configuration
DoubleTake Professional Page 41
Key Definition
[O] WordStar Mode On/Off toggle. When this Mode is on, the high bit
is stripped from each character. This converts the Horizontal
double line box from " " into "MMMMMMM" but it is mainly
useful to correct the last character of most words in a WordStar
file.
At the DoubleTake Main Screen use the [O] Shortcut Key to
immediately toggle WordStar Mode On/Off.
[V] Speeding Up The Display On A Fast Color Graphics Adapter. On
many clones, the color card is much faster than the IBM CGA.
Because of this you do not need to wait for retrace to write to
VIDEO memory. To take advantage of your card's faster speed, use
the [V]ideo mode key to toggle to the Fast Video mode. If you
see snow when in the Fast mode, you'll need to toggle back to
Slow if this snow annoys you.
[I] Toggle Display of Special characters. In Hex Mode, you may or
may not wish to see the actual value of the character as printed.
You may opt for a less cluttered display by choosing the Display
as periods option. This displays the characters 1-31 and 128-255
as periods. Toggle again to get the characters back.
At the DoubleTake Main Screen use the [D] Shortcut Key to
immediately toggle Display Special characters On/Off.
[S] Toggle Scrolling Mode. Press the [S] key to toggle between the
Parallel and Opposite Scrolling Modes. This option can also be
toggled at any point while viewing files and in the Configuration
screen.
[N] Toggle the Beep on/off. Normally, DoubleTake will beep if you
press an incorrect key for the situation. If this annoys you,
just turn the Beep Off.
[C] Toggle Case sensitivity. The default case sensitivity is used
when DoubleTake searches for a string, a mismatch or tries to
align files.
[1] Choose which file will be the "search from" file and which file
or will be the one to "move" forward or back until it aligns with
[2] the "search from" file. If you press [1], then DoubleTake will
try to find the string at the cursor in "search file" file 2 and
search through "move" file 1 to try to find a match. When a
match is found, the cursor in file 1 will be "moved" to the spot
in file 1 which matches the "search from" file.
[R] Choose the Search Direction. When DoubleTake tries to find a
match, you may choose which direction for the search. You may
choose either Forward, Backward or Both ways. If you choose both
ways, DoubleTake will search forward and then backward until a
match is found or it reaches the limits of the search distance
set.
DoubleTake Configuration
Page 42 DoubleTake Professional
Key Definition
[F7] Choose the number of characters in the "search from" file to
match. The count will represent the number of characters from
the current cursor in the file. Choose a smaller number of
characters to have more chances for matches.
[F8] Choose the distance to search in the "move" file. Normally, the
greater this distance (up to 32000 characters), the more likely a
match will be found if there is one somewhere in the file. Be
aware that longer search distances result in longer times for
matches which are far from the current spot.
[A] Toggle between Hex and ASCII. Some files, such as binary files
like COM and EXE files, are difficult/impossible to display in
DoubleTake in the ASCII mode. If you normally compare two binary
files, toggle into the Hex Mode using the [A] key.
At the DoubleTake Main Screen use the [Alt-X] Shortcut Key to
immediately toggle Hex and ASCII Mode.
[H] Toggle between Line numbers and byte numbers. In ASCII mode you
have the choice of viewing the file cursor position by line
number or the actual byte position of the cursor in the file.
Line numbers start at line 1. Byte positions start at byte
number 0.
At the DoubleTake Main Screen use the [Alt-#] Shortcut Key to
immediately toggle Line numbers and byte numbers.
[Z] Change the Horizontal Scroll Amount. In ASCII mode, long lines,
past the last column on the video monitor can be viewed by
Horizontally Scrolling to the right by pressing the [Tab] key.
The amount scrolled is controlled by this value. Enter the
desired value and press [Enter].
[X] Toggle between the 24 and 80 Character Hex Display Modes.
At the DoubleTake Main Screen use the [X] Shortcut Key to
immediately toggle 24 or 80 Character Hex Display Modes.
[L] Toggle Ignore Blanks/Characters. When comparing two source
files, you may be interested in the real differences between the
two files, independent of the spacing or formatting characters
such as Tabs. Press [L] to toggle Ignore Blanks/Characters On to
disregard all blanks and selected characters or Off to do an
exact compare. See the following key to see how you can choose
just what characters get ignored when you try to Find Next
Mismatch, Find String, or Align Files.
At the DoubleTake Main Screen use the [B] Shortcut Key to
immediately toggle Blanks/Characters Ignore On or Off.
[F9] Edit or add to the Blank/Ignore characters. DoubleTake comes
configured to ignore Blanks, Tabs, Carriage Returns, Line Feeds
and Form Feeds. You may enter any values (in Hexadecimal).
DoubleTake Configuration
DoubleTake Professional Page 43
Key Definition
[F10] Edit or add to the End-of-Line Characters. DoubleTake needs to
know what characters will be used to indicate the end of a line
in the files you will be comparing. The provided set of End-of-
Line characters includes the standard Carriage Return (ASCII 13)
and Line Feed (ASCII 10) plus these same codes with the high bit
set (as used in WordStar(tm)). Add any other characters if your
files uses other than these characters to end a line. The
editing is similar to the Edit Ignore Characters above (see
Figure 34).
β[ Enter/Edit Line End Characters ]ββββββββββββββββββββββββββββββββββββββββββ